<div class="modal" tabindex="-1" role="dialog">
    <div class="modal-dialog" style="width: 900px;">
        <div class="card">
            <div class="header">
                <button type="button" class="close" ng-click="$hide()">&times;</button>
                <h4 class="modal-title">{{params.title}}</h4>
            </div>
            <div activate-input class="body">
                <form class="form-horizontal" role="form" id="editForm"
                      name="editForm" ng-submit="save(editForm.$valid)" novalidate>
                    <div class="dj-formtable">
                        <table class="dj-table">

                            <tr>
                                <th>年份</th>
                                <td ng-class="{ 'has-error' : this.editForm.year.$invalid &&  this.editForm.$submitted}">
                                    <input name="year" class="form-control" ng-model="dataModel.year"
                                           data-date-type="string" data-date-format="yyyy" type="text"
                                           data-start-view="2" data-min-view="2" autoclose="true" bs-datepicker
                                           ng-required="true"/>
                                    <span ng-show="this.editForm.year.$invalid && this.editForm.$submitted"
                                          class="error">必填.</span>
                                </td>
                                <th>所属牵头部门</th>
                                <td ng-class="{ 'has-error' : this.editForm.quarter.$invalid &&  this.editForm.$submitted}">
                                    <input name="leadingdepartment" ng-model="dataModel.leadingdepartment" class="form-control"
                                           autocomplete="off"
                                           autoclose="true"
                                           placeholder=""
                                           ng-required="true"/>
                                    <span ng-show="this.editForm.leadingdepartment.$invalid &&  this.editForm.$submitted"
                                          class="error">必填.</span>
                                </td>
                            </tr>
                            <tr>
                                <th >备注</th>
                                <td colspan="5">
                                   <textarea name="remark" ng-model="dataModel.remark"
                                             class="form-control" rows="3"></textarea>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <bsfiles ng-model="reqFileModel"/>
                    <div class="form_foot">
                        <button type="button" class="btn btn-default" ng-click="$hide()">取消</button>
                        <button type="submit" class="btn btn-primary" form="editForm">提交</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
